package com.kaka.bus.engine.amount.creditamount;

import com.kaka.bus.bean.BpmList;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.ProductDetailBean;
import com.kaka.bus.bean.Status;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;

public interface ManageamountContract {

    interface View extends BaseView {
        void getLoadProduct(HttpWrapper<List<ProductDetailBean>> listHttpWrapper);

        void getLimitSuccess(HttpWrapper<List<BpmList>> listHttpWrapper);

        void checkBpmSuccess(HttpWrapper<Status> wrapper);
    }

    interface Presenter extends BasePresenter<ManageamountContract.View> {
        void loadProduct(String per_id,String token,String device,int productId,String version);
        void getLimit(String userId, String token);


        void checkBpm(String userId, String token);
    }
}
